package com.sc.nft.controller.request;


import com.sc.nft.entity.vo.SalvageCardVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class GetSalvageEventsRewardsRequest {

    @ApiModelProperty(value = "分解活动的id", required = true)
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "用户藏品id集合", required = true)
    @NotNull(message = "用户藏品id集合不能为空")
    @Size(min = 1, max = 20,message = "用户藏品不能为空")
    private List<Long> userCollectionIds;

    @NotBlank(message = "请输入支付密码")
    @ApiModelProperty("支付密码")
    private String dealPwd;

    @ApiModelProperty("实名信息")
    private List<SalvageCardVO> cardInfo;


}
